$OpenBSD: patch-scheduler_Makefile,v 1.11 2014/11/15 10:22:23 ajacoutot Exp $
--- scheduler/Makefile.orig	Tue Oct 21 13:55:01 2014
+++ scheduler/Makefile	Sat Nov 15 10:09:52 2014
@@ -157,21 +157,6 @@ install-data:
 		echo Creating $(SERVERROOT)/ssl...; \
 		$(INSTALL_DIR) -m 700 -g $(CUPS_GROUP) $(SERVERROOT)/ssl; \
 	fi
-	if test "$(STATEDIR)" != "$(SERVERROOT)"; then \
-		echo Creating $(STATEDIR)...; \
-		$(INSTALL_DIR) -m 755 $(STATEDIR); \
-	fi
-	echo Creating $(STATEDIR)/certs...
-	$(INSTALL_DIR) -m 511 -o $(CUPS_USER) -g $(CUPS_PRIMARY_SYSTEM_GROUP) \
-		$(STATEDIR)/certs
-	echo Creating $(LOGDIR)...
-	$(INSTALL_DIR) -m 755 $(LOGDIR)
-	echo Creating $(REQUESTS)...
-	$(INSTALL_DIR) -m 710 -g $(CUPS_GROUP) $(REQUESTS)
-	echo Creating $(REQUESTS)/tmp...
-	$(INSTALL_DIR) -m 1770 -g $(CUPS_GROUP) $(REQUESTS)/tmp
-	echo Creating $(CACHEDIR)...
-	$(INSTALL_DIR) -m 770 -g $(CUPS_GROUP) $(CACHEDIR)
 	if test "x$(INITDIR)" != x; then \
 		echo Installing init scripts...; \
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \
@@ -444,11 +429,9 @@ cups-lpd:	cups-lpd.o ../cups/$(LIBCUPS)
 # libcupsmime.so.1
 #
 
-libcupsmime.so.1:	$(LIBOBJS)
+libcupsmime.so.${LIBcupsmime_VERSION}:	$(LIBOBJS)
 	echo Linking $@...
 	$(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
-	$(RM) `basename $@ .1`
-	$(LN) $@ `basename $@ .1`
 
 
 #
